﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CandidateDataSet" targetNamespace="http://tempuri.org/CandidateDataSet.xsd" xmlns:mstns="http://tempuri.org/CandidateDataSet.xsd" xmlns="http://tempuri.org/CandidateDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CandidateDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CandidateDataSet" msprop:Generator_DataSetName="CandidateDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Candidate" msprop:Generator_UserTableName="Candidate" msprop:Generator_RowDeletedName="CandidateRowDeleted" msprop:Generator_RowChangedName="CandidateRowChanged" msprop:Generator_RowClassName="CandidateRow" msprop:Generator_RowChangingName="CandidateRowChanging" msprop:Generator_RowEvArgName="CandidateRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateRowChangeEventHandler" msprop:Generator_TableClassName="CandidateDataTable" msprop:Generator_TableVarName="tableCandidate" msprop:Generator_RowDeletingName="CandidateRowDeleting" msprop:Generator_TablePropName="Candidate">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="BirthDate" msprop:Generator_UserColumnName="BirthDate" msprop:Generator_ColumnVarNameInTable="columnBirthDate" msprop:Generator_ColumnPropNameInRow="BirthDate" msprop:Generator_ColumnPropNameInTable="BirthDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Sex" msprop:Generator_UserColumnName="Sex" msprop:Generator_ColumnVarNameInTable="columnSex" msprop:Generator_ColumnPropNameInRow="Sex" msprop:Generator_ColumnPropNameInTable="SexColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Address" msprop:Generator_UserColumnName="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" type="xs:string" minOccurs="0" />
              <xs:element name="State" msprop:Generator_UserColumnName="State" msprop:Generator_ColumnVarNameInTable="columnState" msprop:Generator_ColumnPropNameInRow="State" msprop:Generator_ColumnPropNameInTable="StateColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Province" msprop:Generator_UserColumnName="Province" msprop:Generator_ColumnVarNameInTable="columnProvince" msprop:Generator_ColumnPropNameInRow="Province" msprop:Generator_ColumnPropNameInTable="ProvinceColumn" type="xs:string" minOccurs="0" />
              <xs:element name="City" msprop:Generator_UserColumnName="City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ZipCode" msprop:Generator_UserColumnName="ZipCode" msprop:Generator_ColumnVarNameInTable="columnZipCode" msprop:Generator_ColumnPropNameInRow="ZipCode" msprop:Generator_ColumnPropNameInTable="ZipCodeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Attachment" msprop:Generator_UserColumnName="Attachment" msprop:Generator_ColumnVarNameInTable="columnAttachment" msprop:Generator_ColumnPropNameInRow="Attachment" msprop:Generator_ColumnPropNameInTable="AttachmentColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Photo" msprop:Generator_UserColumnName="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnPropNameInTable="PhotoColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="AttachmentType" msprop:Generator_UserColumnName="AttachmentType" msprop:Generator_ColumnVarNameInTable="columnAttachmentType" msprop:Generator_ColumnPropNameInRow="AttachmentType" msprop:Generator_ColumnPropNameInTable="AttachmentTypeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Email" msprop:Generator_UserColumnName="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Phone1" msprop:Generator_UserColumnName="Phone1" msprop:Generator_ColumnVarNameInTable="columnPhone1" msprop:Generator_ColumnPropNameInRow="Phone1" msprop:Generator_ColumnPropNameInTable="Phone1Column" type="xs:string" minOccurs="0" />
              <xs:element name="Phone2" msprop:Generator_UserColumnName="Phone2" msprop:Generator_ColumnVarNameInTable="columnPhone2" msprop:Generator_ColumnPropNameInRow="Phone2" msprop:Generator_ColumnPropNameInTable="Phone2Column" type="xs:string" minOccurs="0" />
              <xs:element name="EducationName" msprop:Generator_UserColumnName="EducationName" msprop:Generator_ColumnVarNameInTable="columnEducationName" msprop:Generator_ColumnPropNameInRow="EducationName" msprop:Generator_ColumnPropNameInTable="EducationNameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="OccupationName" msprop:Generator_UserColumnName="OccupationName" msprop:Generator_ColumnVarNameInTable="columnOccupationName" msprop:Generator_ColumnPropNameInRow="OccupationName" msprop:Generator_ColumnPropNameInTable="OccupationNameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="OccupationDescription" msprop:Generator_UserColumnName="OccupationDescription" msprop:Generator_ColumnVarNameInTable="columnOccupationDescription" msprop:Generator_ColumnPropNameInRow="OccupationDescription" msprop:Generator_ColumnPropNameInTable="OccupationDescriptionColumn" type="xs:string" minOccurs="0" />
              <xs:element name="TaxNumber" msprop:Generator_UserColumnName="TaxNumber" msprop:Generator_ColumnVarNameInTable="columnTaxNumber" msprop:Generator_ColumnPropNameInRow="TaxNumber" msprop:Generator_ColumnPropNameInTable="TaxNumberColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Password" msprop:Generator_UserColumnName="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" type="xs:string" minOccurs="0" />
              <xs:element name="PhotoType" msprop:Generator_UserColumnName="PhotoType" msprop:Generator_ColumnVarNameInTable="columnPhotoType" msprop:Generator_ColumnPropNameInRow="PhotoType" msprop:Generator_ColumnPropNameInTable="PhotoTypeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="AttachmentName" msprop:Generator_UserColumnName="AttachmentName" msprop:Generator_ColumnVarNameInTable="columnAttachmentName" msprop:Generator_ColumnPropNameInRow="AttachmentName" msprop:Generator_ColumnPropNameInTable="AttachmentNameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="CivilSituation" msprop:Generator_UserColumnName="CivilSituation" msprop:Generator_ColumnVarNameInTable="columnCivilSituation" msprop:Generator_ColumnPropNameInRow="CivilSituation" msprop:Generator_ColumnPropNameInTable="CivilSituationColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ComputerKnowledge" msprop:Generator_UserColumnName="ComputerKnowledge" msprop:Generator_ColumnVarNameInTable="columnComputerKnowledge" msprop:Generator_ColumnPropNameInRow="ComputerKnowledge" msprop:Generator_ColumnPropNameInTable="ComputerKnowledgeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DriverLicenceType" msprop:Generator_UserColumnName="DriverLicenceType" msprop:Generator_ColumnVarNameInTable="columnDriverLicenceType" msprop:Generator_ColumnPropNameInRow="DriverLicenceType" msprop:Generator_ColumnPropNameInTable="DriverLicenceTypeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="PreviousPosition" msprop:Generator_UserColumnName="PreviousPosition" msprop:Generator_ColumnVarNameInTable="columnPreviousPosition" msprop:Generator_ColumnPropNameInRow="PreviousPosition" msprop:Generator_ColumnPropNameInTable="PreviousPositionColumn" type="xs:string" minOccurs="0" />
              <xs:element name="PreviousPositionStart" msprop:Generator_UserColumnName="PreviousPositionStart" msprop:Generator_ColumnVarNameInTable="columnPreviousPositionStart" msprop:Generator_ColumnPropNameInRow="PreviousPositionStart" msprop:Generator_ColumnPropNameInTable="PreviousPositionStartColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PreviousPositionEnd" msprop:Generator_UserColumnName="PreviousPositionEnd" msprop:Generator_ColumnVarNameInTable="columnPreviousPositionEnd" msprop:Generator_ColumnPropNameInRow="PreviousPositionEnd" msprop:Generator_ColumnPropNameInTable="PreviousPositionEndColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PreviousCompany" msprop:Generator_UserColumnName="PreviousCompany" msprop:Generator_ColumnVarNameInTable="columnPreviousCompany" msprop:Generator_ColumnPropNameInRow="PreviousCompany" msprop:Generator_ColumnPropNameInTable="PreviousCompanyColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:string" minOccurs="0" />
              <xs:element name="HasAttachment" msprop:Generator_UserColumnName="HasAttachment" msprop:Generator_ColumnPropNameInRow="HasAttachment" msprop:Generator_ColumnVarNameInTable="columnHasAttachment" msprop:Generator_ColumnPropNameInTable="HasAttachmentColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="ChangeDate" msprop:Generator_UserColumnName="ChangeDate" msprop:Generator_ColumnPropNameInRow="ChangeDate" msprop:Generator_ColumnVarNameInTable="columnChangeDate" msprop:Generator_ColumnPropNameInTable="ChangeDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CandidateVacancy" msprop:Generator_UserTableName="CandidateVacancy" msprop:Generator_RowDeletedName="CandidateVacancyRowDeleted" msprop:Generator_RowChangedName="CandidateVacancyRowChanged" msprop:Generator_RowClassName="CandidateVacancyRow" msprop:Generator_RowChangingName="CandidateVacancyRowChanging" msprop:Generator_RowEvArgName="CandidateVacancyRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateVacancyRowChangeEventHandler" msprop:Generator_TableClassName="CandidateVacancyDataTable" msprop:Generator_TableVarName="tableCandidateVacancy" msprop:Generator_RowDeletingName="CandidateVacancyRowDeleting" msprop:Generator_TablePropName="CandidateVacancy">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="VacancyId" msprop:Generator_UserColumnName="VacancyId" msprop:Generator_ColumnVarNameInTable="columnVacancyId" msprop:Generator_ColumnPropNameInRow="VacancyId" msprop:Generator_ColumnPropNameInTable="VacancyIdColumn" type="xs:long" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CandidateAction" msprop:Generator_UserTableName="CandidateAction" msprop:Generator_RowDeletedName="CandidateActionRowDeleted" msprop:Generator_RowChangedName="CandidateActionRowChanged" msprop:Generator_RowClassName="CandidateActionRow" msprop:Generator_RowChangingName="CandidateActionRowChanging" msprop:Generator_RowEvArgName="CandidateActionRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateActionRowChangeEventHandler" msprop:Generator_TableClassName="CandidateActionDataTable" msprop:Generator_TableVarName="tableCandidateAction" msprop:Generator_RowDeletingName="CandidateActionRowDeleting" msprop:Generator_TablePropName="CandidateAction">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="ActionId" msprop:Generator_UserColumnName="ActionId" msprop:Generator_ColumnVarNameInTable="columnActionId" msprop:Generator_ColumnPropNameInRow="ActionId" msprop:Generator_ColumnPropNameInTable="ActionIdColumn" type="xs:long" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Reason" msprop:Generator_UserColumnName="Reason" msprop:Generator_ColumnVarNameInTable="columnReason" msprop:Generator_ColumnPropNameInRow="Reason" msprop:Generator_ColumnPropNameInTable="ReasonColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Remarks" msprop:Generator_UserColumnName="Remarks" msprop:Generator_ColumnVarNameInTable="columnRemarks" msprop:Generator_ColumnPropNameInRow="Remarks" msprop:Generator_ColumnPropNameInTable="RemarksColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Date" msprop:Generator_UserColumnName="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Interviewer" msprop:Generator_UserColumnName="Interviewer" msprop:Generator_ColumnVarNameInTable="columnInterviewer" msprop:Generator_ColumnPropNameInRow="Interviewer" msprop:Generator_ColumnPropNameInTable="InterviewerColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Candidate" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="CandidateVacancy_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CandidateVacancy" />
      <xs:field xpath="mstns:VacancyId" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="CandidateAction_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CandidateAction" />
      <xs:field xpath="mstns:Id" />
      <xs:field xpath="mstns:ActionId" />
    </xs:unique>
    <xs:keyref name="FK_Candidate_CandidateVacancyAction" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Candidate_CandidateVacancyAction" msprop:rel_Generator_RelationVarName="relationFK_Candidate_CandidateVacancyAction" msprop:rel_Generator_UserChildTable="CandidateAction" msprop:rel_Generator_UserParentTable="Candidate" msprop:rel_Generator_ParentPropName="CandidateRow" msprop:rel_Generator_ChildPropName="GetCandidateActionRows">
      <xs:selector xpath=".//mstns:CandidateAction" />
      <xs:field xpath="mstns:Id" />
    </xs:keyref>
    <xs:keyref name="FK_Candidate_CandidateVacancy" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Candidate_CandidateVacancy" msprop:rel_Generator_RelationVarName="relationFK_Candidate_CandidateVacancy" msprop:rel_Generator_UserChildTable="CandidateVacancy" msprop:rel_Generator_UserParentTable="Candidate" msprop:rel_Generator_ParentPropName="CandidateRow" msprop:rel_Generator_ChildPropName="GetCandidateVacancyRows">
      <xs:selector xpath=".//mstns:CandidateVacancy" />
      <xs:field xpath="mstns:Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>